A Study on Verification and Analysis of Symbol Tables for Development of the C++ Compiler
نویسندگان
چکیده
The existing C++ compilers are designed to translate C++ source programs into target codes and then execute them. This translation method is that a compiler that translates C++ source programs to target codes has to be available for each platform. Reusability and portability of codes will also decrease because target codes have to be different for each platform they are run under. For that reason, much research is taking place in various fields in an effort to develop a retargetable compiler and a virtual machine that execute application programs without recompiling or modifying them though processor or operating systems are changed. We have developed the C++ compiler for the SVM(Smart Virtual Machine) of the smart platform on smart systems. As a part of the C++ compiler development, we designed the symbol table that can support object-oriented languages, C++ and java. The symbol table is a data structure to keep track of scope and binding information about names (or identifiers). Various information is entered into the symbol table after visiting and analyzing the abstract syntax tree generated by syntax-directed translation, and then is used to check whether the use of names is consistent with their definition during the semantic analysis phase and generate a valid code during the code generation phase. In this paper, we describe the reconstruction technique for verifying and analyzing the symbol table designed for the C++ compiler. This system reconstructs inputted C++ declarations by using information of the symbol table entered in the declaration process phase of the C++ compiler, and therefore we can verify completeness of symbol table design and correctness of information entered in the symbol table. In addition, this system also produces debug information, and so is effectively utilized for the development of the C++ compiler.
منابع مشابه
Vol.60 (Mobile and Wireless 2014), pp.37-40
In this paper, we will deal with the reversing technique to verifying the symbol table in Objective C compiler. The proposed technique reconstructs inputted Objective C program segments declarations part by using information of the symbol table inserted during the process of declaration analysis phase of the Objective C compiler, and therefore we can verify the completeness of symbol table desi...
متن کاملApplying the principles governing the traditional neighborhood development (TND) approach in the Islamic Iranian city Study sample: Fahadan neighborhood of Yazd city
The TND approach has concepts with the aim of raising the quality of life and strengthening and improving the physical space of the neighborhood, increasing social interactions and improving the sense of place and economic self-reliance. Iranian-Islamic urban planning, like its origins in Islam and Shiite culture, is dynamic and constantly offers new methods to human societies, and is more of a...
متن کاملJapanese Garden as a Physical Symbol of Japanese Culture
A’ view of nature within the framework of garden and in relation with human needs and drives that satisfy theneed to be rooted has caused the representation of nature in garden to be regarded as cultural heritage. Garden and garden designing are suitable cases for us to study cultural characteristics and traits. Thus, human beings have searched their eternal interest in an ideal and unattainabl...
متن کاملVerification of a Quality Management Theory: Using a Delphi Study
Background A model of quality management called Strategic Collaborative Quality Management (SCQM) model was developed based on the quality management literature review, the findings of a survey on quality management assessment in healthcare organisations, semi-structured interviews with healthcare stakeholders, and a Delphi study on healthcare quality management experts. The purpose of this stu...
متن کاملStylistic Analysis of a Poetic Text: A Case from Persian
Poetic analysis involves the explication of a poem by focusing on the process of semiosis in it. Through semiosis linguistic meaning is transformed into stylistic meaning. An examination of semiosis brings us to look at the hypersemanticized poetic structures which are none other than the style features of a poem. Since style functions in a literary text by conveying meanings other than literal...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2012